package com.itqf.mapper;

import com.itqf.bean.DtsGoods;
import com.itqf.bean.DtsRole;
import com.itqf.dto.DtsSearchDto;

import java.util.List;

public interface DtsGoodsMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DtsGoods record);

    int insertSelective(DtsGoods record);

    DtsGoods selectByPrimaryKey(Integer id);



    int updateByPrimaryKeyWithBLOBs(DtsGoods record);

    int updateByPrimaryKey(DtsGoods record);

    Long queryTotal();


    List<DtsGoods> queryGoodsByPage(DtsSearchDto dto);

    Long queryCountByGoodsName(String goodsName);

    int insertGoods(DtsGoods goods);

    int updateByPrimaryKeySelective(Integer brandId);
}